package com.bite.lesson2;

import java.util.Random;
import java.util.Scanner;

public class Demo_02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Random random = new Random();
        int rondomcount = random.nextInt(100) + 1; //0 ~ 99  -> 1 ~ 100
        while (scanner.hasNextInt()) {
            int input = scanner.nextInt();
            if (input > rondomcount) {
                System.out.println("大了......");
            } else if (input < rondomcount) {
                System.out.println("小了......");
            } else {
                System.out.println("相等......");
                return;
            }
        }
    }
}
